#include "stdInc.h"
#include "SampleStrategy.h"

namespace GSTrader
{
	namespace TradeStrategy
	{
		CSampleStrategy::CSampleStrategy(CStrategySession* pStrategySession, string strStrategyName) : 
			CInstrumentStrategy(pStrategySession, strStrategyName)
		{
	
		}

		CSampleStrategy::~CSampleStrategy()
		{
		}

		CInstrumentStrategy* CSampleStrategy::CreateInstance(CInstrument* pInstrument)
		{
			string strName = m_strStrategyName;
			if (pInstrument)
			{
				strName += "-";
				strName += pInstrument->m_strSymbol;
			}

			return new CSampleStrategy(m_pStrategySession, strName);
		}

		void CSampleStrategy::OnMarketData(CDepthMarketData* pMarketData)
		{

		}

		void CSampleStrategy::OnExecutionReport(CExecutionReport* pReport)
		{

		}

		void CSampleStrategy::SetInstrumentStringParam(const char * pszInstrument, const char * pszParamName, const char * Value)
		{
			
		}

		void CSampleStrategy::ReadConfig()
		{

		}
	}
}